//
//  DVUserManager.h
//  DoctorVideo
//
//  Created by 锦食送 on 2019/8/13.
//  Copyright © 2019 lzx. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "BaseTabbarController.h"
#import "LoginViewController.h"
static NSString * _Nullable kMUserInfoStorageKey = @"/cn.QH.userinfo";
NS_ASSUME_NONNULL_BEGIN

@interface DVUserManager : NSObject
@property (nonatomic, copy, readonly) NSDictionary *userInfo;
+ (instancetype)shareManager;
- (BOOL)loadCacheUserInfo;
- (void)updateUserInfo:(NSDictionary * _Nullable)userInfo;
- (void)logout;
+ (BOOL)isVisitor;
- (BaseTabbarController *)tabBarController;
- (LoginViewController *)loginController;
- (void)setRootViewController:(UIViewController *)controller;

@end

NS_ASSUME_NONNULL_END
